package com.jikeh.service;

import com.jikeh.model.User;

import java.util.List;

/**
 * @author jikeh
 */
public interface UserService {

    User findById(Long id);

    List<User> findByUser(User user, Integer offset, Integer limit);

    boolean saveOrUpdate(User user);

    boolean deleteById(Long id);
}
